OTP\Handler\Forms\WooCommerceRegistrationForm C

Total Complexity 101
Dependencies 11
Dependents 0
Total lines 677
Lines of code 376
Logical lines of code 190
Comment lines 228
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
processFormFields()
A
47 14 31
handle_form_options()
S
49 7 30
checkIntegrity()
S
53 6 22
handle_form()
S
52 5 23
processFormAndSendOTP()
S
53 5 21
checkIntegrityAndValidateOTP()
S
55 5 20
assertUserName()
S
57 5 18
routeData()
S
57 5 15
assertEmail()
S
59 4 16
mo_add_phone_field()
S
61 4 12
handle_failed_verification()
S
58 3 16
sendAjaxOTPRequest()
S
58 3 15
custom_registration_redirect()
S
61 3 13
woocommerce_site_registration_errors()
S
60 3 13
mo_add_verification_field()
S
62 3 13
assertPassword()
S
63 3 11
miniorange_register_wc_script()
S
57 2 16
__construct()
S
58 2 15
get_email_phone_data()
S
66 3 8
get_phone_number_selector()
S
70 3 6
isPhoneVerificationEnabled()
S
75 2 4
assertOTPField()
S
67 2 8
checkIfOTPWasSent()
S
67 2 8
register_woocommerce_user()
S
70 2 6
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3
isPhoneNumberAlreadyInUse()
S
69 1 6
redirectToPage()
S
86 1 2
isredirectToPageEnabled()
S
86 1 2